Repository navigation
Sticky player controls and a wrapping array strip - #4
Merged
Merged
Conversation
- Space on a focused button, link or disclosure presses it instead of toggling playback; Alt/Ctrl/Cmd combos go to the browser (Alt+← is Back). - Approach and language tabs take ←/→/Home/End and use a roving tabindex, so only the selected tab is a Tab stop. - The narration is a polite live region, muted while autoplay runs; the scrubber announces "Step 2 of 12: tally" via aria-valuetext. - tokens.css sets color-scheme per theme, so scrollbars, range tracks and spinners are drawn dark on the dark theme.
- The transport and narration stick under the masthead while the reader scrolls the stage and code, and let go at the end of the player; not on windows shorter than 600px. - On phones only the buttons stick, as one 40px-tall row; the narration stays in the flow above the stage. - Focusable elements in the stage scroll clear of the sticky bar. - The array strip wraps onto more rows instead of scrolling sideways, with room under each row for pointer labels; cells shrink a little on phones.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
This was referenced Sep 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Two layout fixes from the x-sum UI/UX review. Both are in
src/styles/lesson.css, so all 46 lessons get them; no lesson file changed.Controls stay visible while you step
scroll-margin-top, so keyboard focus scrolls clear of the bar instead of landing behind it.The array strip wraps instead of scrolling sideways
ch,lo/hi, …), and cells shrink slightly on phones (42×50 → 36×44).Checked
npm run check,npm run build, thennpm run audit(axe in both themes, 400px overflow): passed, 46 pages.Known limits